part of 'theme.dart';

class IntroPageTextTheme {
  const IntroPageTextTheme._internal({
    required this.tabHeading,
    required this.tabSubheading,
  });

  factory IntroPageTextTheme.light() {
    return IntroPageTextTheme._internal(
      tabHeading: IntroPageStyles.tabHeadingTextStyle.copyWith(
        color: CoreStyles.defaultDarkTextColor,
      ),
      tabSubheading: IntroPageStyles.tabSubheadingTextStyle.copyWith(
        color: CoreStyles.defaultDarkTextColor,
      ),
    );
  }

  factory IntroPageTextTheme.dark() {
    return IntroPageTextTheme._internal(
      tabHeading: IntroPageStyles.tabHeadingTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
      tabSubheading: IntroPageStyles.tabSubheadingTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
    );
  }

  final TextStyle tabHeading;
  final TextStyle tabSubheading;
}
